x86: change default load address from 1 MiB to 2 MiB
authorDaniel Kiper <daniel.kiper@oracle.com>
Fri, 7 Apr 2017 11:35:32 +0000 (13:35 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Apr 2017 11:35:32 +0000 (13:35 +0200)
commit7ed93f3a0dff8f1d999ae5b541886eb8ff2f7842
treebf630678ab274832975165ca016c9e7831a42c16
parent39f79c4723460d89ed0e0c7aef5630c5a05abb1a
x86: change default load address from 1 MiB to 2 MiB

Subsequent patches introducing relocatable early boot code play with
page tables using 2 MiB huge pages. If load address is not aligned at
2 MiB then code touching such page tables must have special cases for
start and end of Xen image memory region. So, let's make life easier
and move default load address from 1 MiB to 2 MiB. This way page table
code will be nice and easy. Hence, there is a chance that it will be
less error prone too... :-)))

Additionally, drop first 2 MiB mapping from Xen image mapping.
It is no longer needed.

Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Doug Goldstein <cardoe@cardoe.com>
xen/arch/x86/Makefile
xen/arch/x86/Rules.mk
xen/arch/x86/boot/head.S
xen/arch/x86/boot/x86_64.S
xen/arch/x86/setup.c
xen/arch/x86/xen.lds.S